<?php
    class ratebs{
        public $source = 'http://www.vietcombank.com.vn/ExchangeRates/ExrateXML.aspx';
    	public $mydate = '';
    	
        function getRate()
        {
    		$db = new ratedb();
            return $db->getRate($this->mydate, $this->source);
    	}        
    }
?>